<template>
  <div class="">
    <MyCrontab
      @hide="openCron = true"
      @fill="crontabFill"
      :expression="expression"
    ></MyCrontab>
  </div>
</template>

<script>
export default {
  name: '',
  components: {},
  props: {},
  data() {
    return {
      // 是否显示Cron表达式弹出层
      openCron: true,
      // 传入的表达式
      expression: '',
    }
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {
    /** 确定后回传值 */
    crontabFill(value) {
      console.log(value)
    },
  },
}
</script>

<style scoped lang="scss">
</style>
